package com.kh.rationaldrugreview.entity;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class PrescriptionItem {
    
    private Long itemId;
    
    private Long prescriptionId;
    
    private Long drugId;
    
    private String drugCode;
    
    private String drugName;
    
    private String specification;
    
    private BigDecimal dosage;
    
    private String dosageUnit;
    
    private String frequency;
    
    private String administration;
    
    private Integer duration;
    
    private String durationUnit;
    
    private BigDecimal quantity;
    
    private String quantityUnit;
    
    private BigDecimal unitPrice;
    
    private BigDecimal totalPrice;
    
    private String usage;
    
    private String remarks;
    
    private String genericName;
    
    private String category;
    
    private String route;
    
    private BigDecimal dailyDose;
    
    private Boolean isActive;
    
    private LocalDateTime createdAt;
    
    private LocalDateTime updatedAt;
    
    private String createdBy;
    
    private String updatedBy;
    
}